<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
    <title>MBA教育中心双向选择系统</title>
    <%= stylesheet_link_tag 'mba'%>
  </head>
  <body>
    <div id="top"></div>
    <div id="tl"><img src="/doublechoice/images/logo.gif" alt="logo" /></div>
    <div id="t2"><img src="/doublechoice/images/system.jpg" alt="system" /></div>
    <div id="tm"><img src="/doublechoice/images/t2.gif" alt="blog" /></div>
    <div id="tr"></div>
    <div id="rm"></div>
    <div id="mid">
      <%= javascript_include_tag "pic.js" %>
    </div>
    <div id="left">
      <img src="/doublechoice/images/stulogin.jpg" alt="stulogin" />
      <img src="/doublechoice/images/tealogin.jpg" alt="tealogin" />
    </div>

    <div id="main">
      <div class="content">
        <p style="color: green"><%= flash[:notice] %></p>
        <div class="login">
          <fieldset>
            <legend>请登录</legend>
            <% form_tag :action => "login" do -%>
              <p>
                <label for="user_name">姓名：</label>
                <%= text_field :name, params[:name], :size => 30 %>
              </p>
              <p>
                <label for="user_password">密码：</label>
                <%= password_field :password, params[:password], :size => 30 %>
              </p>
              <p>
                <label for="user_type">类型：</label>
                <%=
                options = [["请选择类型", ""]] + Student::USER_TYPES
                select("user_type",params[:user_type] , options)
              %>
              </p>
              <%= submit_tag "登陆", :class => "submit" %>
              <%= submit_tag "重置", :type => "reset" %>
            <% end -%>
          </fieldset>
        </div>
      </div>
    </div>
    <div id="right">
    </div>
    <div id="copy" align="center" class="copy">
      copyright 2009 &copy; Louis Studio 版权所有<br />
      Address:TianJin China<br />
      mqh444@gmail.com
    </div>
  </body>
</html>